-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: avoid compiling with VS v17.12 #55930
build: avoid compiling with VS v17.12 #55930
Conversation
if %errorlevel% neq 1 ( | ||
@rem Clang 18.1.8 Provided with VS 17.12 works fine. | ||
if not defined clang_cl ( | ||
echo Node.js doesn't compile with Visual Studio 17.12 Please use a different version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including a link to an issue that describes the reason for this would be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jasnell thanks for the suggestion. That makes a lot of sense. However, you've already approved this, the CI has finished, and based on the MSFT issue the reason behind it is fixed and pending release. I assume this will be in some 17.12.x release, so I'll most likely end up reverting this then. With all that in mind, would you oppose me landing this PR as is?
Landed in 542f252 |
Refs: nodejs/build#3963 PR-URL: #55930 Refs: #53863 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]> Reviewed-By: James M Snell <[email protected]>
Visual Studio v17.12 has a bug that produces a compilation error. Since ClangCL is now supported as a compiler for Node.js on Windows, and Clang 18.1.8, provided with VS 17.12, works fine, Only MSVC is disabled.
cc @nodejs/platform-windows @nodejs/build @huseyinacacak-janea
Refs: nodejs/build#3963
Refs: #53863